package com.example.demo.utils;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.sql.Date;

public class Reservation {
    @TableId(value = "reservationID", type = IdType.INPUT)
    private String reservationID;
    @TableField("userID")
    private String userID;
    @TableField("expectedCheckoutStoreID")
    private String expectedCheckoutStoreID;
    @TableField("expectedReturnStoreID")
    private String expectedReturnStoreID;
    @TableField("carModelID")
    private String carModelID;
    @TableField("expectedCheckoutTime")
    private Date expectedCheckoutTime;
    @TableField("expectedReturnTime")
    private Date expectedReturnTime;
    @TableField("reservationStatus")
    private String reservationStatus;
    @TableField("renewalPermission")
    private String renewalPermission;

    public String getReservationID() {
        return reservationID;
    }

    public void setReservationID(String reservationID) {
        this.reservationID = reservationID;
    }

    public String getUserID() {
        return userID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public String getExpectedCheckoutStoreID() {
        return expectedCheckoutStoreID;
    }

    public void setExpectedCheckoutStoreID(String expectedCheckoutStoreID) {
        this.expectedCheckoutStoreID = expectedCheckoutStoreID;
    }

    public String getExpectedReturnStoreID() {
        return expectedReturnStoreID;
    }

    public void setExpectedReturnStoreID(String expectedReturnStoreID) {
        this.expectedReturnStoreID = expectedReturnStoreID;
    }

    public String getCarModelID() {
        return carModelID;
    }

    public void setCarModelID(String carModelID) {
        this.carModelID = carModelID;
    }

    public Date getExpectedCheckoutTime() {
        return expectedCheckoutTime;
    }

    public void setExpectedCheckoutTime(Date expectedCheckoutTime) {
        this.expectedCheckoutTime = expectedCheckoutTime;
    }

    public Date getExpectedReturnTime() {
        return expectedReturnTime;
    }

    public void setExpectedReturnTime(Date expectedReturnTime) {
        this.expectedReturnTime = expectedReturnTime;
    }

    public String getReservationStatus() {
        return reservationStatus;
    }

    public void setReservationStatus(String reservationStatus) {
        this.reservationStatus = reservationStatus;
    }

    public String getRenewalPermission() {
        return renewalPermission;
    }

    public Reservation(String reservationID, String userID, String expectedCheckoutStoreID, String expectedReturnStoreID, String carModelID, Date expectedCheckoutTime, Date expectedReturnTime, String reservationStatus, String renewalPermission) {
        this.reservationID = reservationID;
        this.userID = userID;
        this.expectedCheckoutStoreID = expectedCheckoutStoreID;
        this.expectedReturnStoreID = expectedReturnStoreID;
        this.carModelID = carModelID;
        this.expectedCheckoutTime = expectedCheckoutTime;
        this.expectedReturnTime = expectedReturnTime;
        this.reservationStatus = reservationStatus;
        this.renewalPermission = renewalPermission;
    }

    public void setRenewalPermission(String renewalPermission) {
        this.renewalPermission = renewalPermission;
    }
}
